package com.shop.shoporder.common;

public class ParameterUtil {

    public static int getIntParameter(String strParameter)
    {
        int intParameter = 0;
        try {
            if (strParameter != null && strParameter != "" && StringUtil.isNumeric(strParameter)) {
                intParameter = Integer.parseInt(strParameter);
            }
        }catch (Exception ex)
        {

        }
        return intParameter;
    }

}
